home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ8806.ZIP
/
MALLOCH.ZIP
/
MALLOC.H
Wrap
Text File
|
1980-01-01
|
768b
|
23 lines
________________________________________________________________
#include <malloc.h>
void dfree ( void *p );
void *dmalloc ( unsigned size );
void *dcalloc ( unsigned n, unsigned size );
int malloc_checking ( int );
unsigned long memory_used ( void );
#ifdef DEBUG
# define free(p) dfree(p)
# define malloc(s) dmalloc(s)
# define calloc(n,s) dcalloc(n,s)
#endif
________________________________________________________________
EXAMPLE 1: NEEDS CAPS